/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */

import java.util.concurrent.TimeUnit;

/**
 * <p>Project: jse2204 - T2
 * <p>Powered by webrx On 2022-09-29 09:56:52
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class T2 implements Runnable{
    @Override
    public void run() {
        while(true){
            try{
                TimeUnit.SECONDS.sleep(2);
            }catch(Exception e){
                e.printStackTrace();
            }
            System.out.printf("%s:%n",Thread.currentThread().getName());
        }
    }
}
